package com.ktdaddy.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "t_course")
public class TCourse {
    @Id
    private Integer id;

    /**
     * 课程名称
     */
    @Column(name = "course_name")
    private String courseName;

    /**
     * 课程编号
     */
    @Column(name = "course_code")
    private String courseCode;

    /**
     * 状态 1-启用 2-禁用
     */
    private Byte status;

    /**
     * 课程介绍
     */
    private String remark;

    /**
     * 课程难易等级
     */
    private Byte level;

    @Column(name = "time_created")
    private Date timeCreated;

    @Column(name = "time_modified")
    private Date timeModified;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取课程名称
     *
     * @return course_name - 课程名称
     */
    public String getCourseName() {
        return courseName;
    }

    /**
     * 设置课程名称
     *
     * @param courseName 课程名称
     */
    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    /**
     * 获取课程编号
     *
     * @return course_code - 课程编号
     */
    public String getCourseCode() {
        return courseCode;
    }

    /**
     * 设置课程编号
     *
     * @param courseCode 课程编号
     */
    public void setCourseCode(String courseCode) {
        this.courseCode = courseCode;
    }

    /**
     * 获取状态 1-启用 2-禁用
     *
     * @return status - 状态 1-启用 2-禁用
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 设置状态 1-启用 2-禁用
     *
     * @param status 状态 1-启用 2-禁用
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * 获取课程介绍
     *
     * @return remark - 课程介绍
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置课程介绍
     *
     * @param remark 课程介绍
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取课程难易等级
     *
     * @return level - 课程难易等级
     */
    public Byte getLevel() {
        return level;
    }

    /**
     * 设置课程难易等级
     *
     * @param level 课程难易等级
     */
    public void setLevel(Byte level) {
        this.level = level;
    }

    /**
     * @return time_created
     */
    public Date getTimeCreated() {
        return timeCreated;
    }

    /**
     * @param timeCreated
     */
    public void setTimeCreated(Date timeCreated) {
        this.timeCreated = timeCreated;
    }

    /**
     * @return time_modified
     */
    public Date getTimeModified() {
        return timeModified;
    }

    /**
     * @param timeModified
     */
    public void setTimeModified(Date timeModified) {
        this.timeModified = timeModified;
    }
}